package com.cloudcentral.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloudcentral.entity.Auth;
import com.cloudcentral.entity.User;
import com.cloudcentral.entity.query.UserQuery;
import com.cloudcentral.entity.vo.UserPageVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统用户表 Mapper 接口
 * </p>
 *
 * @author Administrator
 * @since 2023-10-27
 */
public interface UserMapper extends UserBaseMapper {
  List<Auth> selectAuthorities(Long userId);

  IPage<UserPageVO> listPage(Page<UserPageVO> page, @Param("query") UserQuery query);
}
